home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / OpenGL / glgetpolygonstipple.z / glgetpolygonstipple
Encoding:
Text File  |  2001-04-17  |  3.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggllllGGGGeeeettttPPPPoooollllyyyyggggoooonnnnSSSSttttiiiipppppppplllleeee((((3333GGGG))))        OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee        ggggllllGGGGeeeettttPPPPoooollllyyyyggggoooonnnnSSSSttttiiiipppppppplllleeee((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllGGGGeeeettttPPPPoooollllyyyyggggoooonnnnSSSSttttiiiipppppppplllleeee - return the polygon stipple pattern
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      void ggggllllGGGGeeeettttPPPPoooollllyyyyggggoooonnnnSSSSttttiiiipppppppplllleeee( GLubyte *_m_a_s_k )
  14.  
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _m_a_s_k  Returns the stipple pattern. The initial value is all 1's.
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      ggggllllGGGGeeeettttPPPPoooollllyyyyggggoooonnnnSSSSttttiiiipppppppplllleeee returns to _m_a_s_k a 32 x 32 polygon stipple pattern.
  21.      The pattern is packed into memory as if ggggllllRRRReeeeaaaaddddPPPPiiiixxxxeeeellllssss with both _h_e_i_g_h_t and
  22.      _w_i_d_t_h of 32, _t_y_p_e of GGGGLLLL____BBBBIIIITTTTMMMMAAAAPPPP, and _f_o_r_m_a_t of GGGGLLLL____CCCCOOOOLLLLOOOORRRR____IIIINNNNDDDDEEEEXXXX were called,
  23.      and the stipple pattern were stored in an internal 32 x 32 color index
  24.      buffer.  Unlike ggggllllRRRReeeeaaaaddddPPPPiiiixxxxeeeellllssss, however, pixel transfer operations (shift,
  25.      offset, pixel map) are not applied to the returned stipple image.
  26.  
  27. NNNNOOOOTTTTEEEESSSS
  28.      If an error is generated, no change is made to the contents of _m_a_s_k.
  29.  
  30. EEEERRRRRRRROOOORRRRSSSS
  31.      GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllGGGGeeeettttPPPPoooollllyyyyggggoooonnnnSSSSttttiiiipppppppplllleeee is executed
  32.      between the execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of
  33.      ggggllllEEEEnnnndddd.
  34.  
  35.  
  36. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  37.      ggggllllPPPPiiiixxxxeeeellllSSSSttttoooorrrreeee, ggggllllPPPPiiiixxxxeeeellllTTTTrrrraaaannnnssssffffeeeerrrr, ggggllllPPPPoooollllyyyyggggoooonnnnSSSSttttiiiipppppppplllleeee, ggggllllRRRReeeeaaaaddddPPPPiiiixxxxeeeellllssss
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.